//
//  LHAFNTools.h
//  Project_B
//
//  Created by dllo on 15/12/23.
//  Copyright © 2015年 ZY. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^SourceBlock) (id result); //请求数据
typedef void(^SourcePostBlock) (id result); //post请求数据


typedef void(^ImageBlock) (NSData *data);  //请求图片


@interface LHAFNTools : NSObject

+ (void)appToolsWithSourcePath:(NSString *)path block:(SourceBlock)block; //请求数据

+ (void)appToolsWithImagePath:(NSString *)path block:(ImageBlock)block;   //请求图片

+ (void)appPostToolsWithSourcePath:(NSString *)path body:(NSString *)body block:(SourcePostBlock)block; //post请求数据

@end
